import {
    lazy
} from "react"
let routerList = [{
        path: "/login",
        component: lazy(() => import("../pages/login"))
    },
    {
        path: "/home",
        component: lazy(() => import("../pages/home")),
        children: [{
                path: "/home/dh1",
                component: lazy(() => import("../pages/dh1"))
            },
            {
                path: "/home/dh2",
                component: lazy(() => import("../pages/dh2"))
            },
            {
                from:"/home",
                to:"/home/dh1"
            }

        ]
    },
    {
        from:"/",
        to:"/login"
    }
]
export default routerList